﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<SeaBattle.UI.Web.Models.LogOnModel>" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>LogOn</title>
    <link rel="Stylesheet" href="~/Content/Site.css" />
</head>
<body>
    <div id="logon-panel">
    <p>Welcom Cap!</p>
    <% using (Html.BeginForm())
       { %>
    <%: Html.ValidationSummary()%>
    <div class="input-label">
      <%: Html.LabelFor(x => x.Login)%>
    </div>
    <div class="input-box">
    <%: Html.TextBoxFor(x => x.Login)%>
    </div>
    <div class="input-label">
      <%: Html.LabelFor(x => x.Password)%>
     </div>
     <div class="input-box">
     <%: Html.PasswordFor(x => x.Password)%>
     </div>
     <input type="submit" value="Enter room" />
     <%} %>
     </div>
</body>
</html>
